<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
    <head>
            <meta charset="utf-8">
            <title>在线商城</title>
            <meta http-equiv="Content-type" content="text/html; charset=utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta http-equiv="Cache-Control" content="no-transform" />
            <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
            <meta name="apple-mobile-web-app-status-bar-style" content="black">
            <meta name="renderer" content="webkit">
            <!--uc浏览器判断到页面上文字居多时，会自动放大字体优化移动用户体验。添加以下头部可以禁用掉该优化-->
            <meta name="wap-font-scale" content="no">
            <meta content="telephone=no" name="format-detection" />
            <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
            <link rel="stylesheet" type="text/css" href="/majiang/Public/home/css/mian.css"/>
		    <link rel="stylesheet" type="text/css" href="/majiang/Public/home/css/shangcheng.css"/>
            <link rel="stylesheet" type="text/css" href="/majiang/Public/home/css/font-awesome.css"/>
            <script src="js/jquery-1.10.2.min.js" type="text/javascript" charset="utf-8"></script>
            <script type="text/javascript" src="/majiang/Public/home/swiper-2.1.min.js"></script>
            <script src="js/html5.js" type="text/javascript" charset="utf-8"></script>
            <script>
            	 (function (doc, win) {
					var docEl = doc.documentElement,
					resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',         
					recalc = function () {
					  var clientWidth = docEl.clientWidth;
					  <!--
					  /*自加*/
					  clientWidth = document.documentElement ? document.documentElement.clientWidth : document.body.clientWidth;
					  if (clientWidth > 720) clientWidth = 720;
					  /*自加*/
					  -->
					  if (!clientWidth) return;
					  docEl.style.fontSize = 24 * (clientWidth / 720) + 'px';
					};
					  if (!doc.addEventListener) return;
					  win.addEventListener(resizeEvt, recalc, false);
					  doc.addEventListener('DOMContentLoaded', recalc, false);
				})(document, window);
            </script>
    </head>
    
    <body>
    	<div class="box">
        	<div class="head_bg c">
            	<div class="head c">
                	<div class="fhbt">
                    	<a href="<?php echo U('index/index');?>"></a>
                    </div>
                    <div class="head_text"><h4>在线商城</h4></div>
                </div>
            </div>
			<style>
				.jfsc_bg_gg{position: fixed; width:100%;padding:0.5rem 1rem; /*top:3.75rem;*/ background:#ccc; z-index:999; max-width:720px; font-size:1rem;text-align: center;}
			</style>
			<div class="jfsc_bg_gg">
				温馨提示：3元/1天畅玩权限（时间：0:00-24:00）
			</div>
			<div class="jfsc_bg c">

				<ul class="c">
				<?php
 foreach ($goods_info AS $v): ?> 
					<li>
						<a href="<?php echo U('Index/shopping',array('goods_id'=>$v['goods_id'],'goods_money'=>$v['goods_money'],'goods_time'=>$v['goods_time']));?>" >
							<span>
								<img src="<?= $v['goods_image']; ?>" />
							</span>
							<div class="jfsc_bg_bm">
								<p><?= $v['goods_title'];?></p>
								<h4>
									<strong>价格：<?= $v['goods_money']; ?>元</strong>
									<em>
										<i>立即购买</i>
									</em>
								</h4>
							</div>
						</a>
					</li>
				<?php endforeach; ?> 
				</ul>
			</div>
        </div>
    </body>
</html>